<!DOCTYPE html>
<html layout:decorate="~{layout}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">

<head>
    <meta content="IE=edge" http-equiv="X-UA-Compatible"/>
    <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/>

    <title th:text="#{cas.login.pagetitle}">CAS Acceptable Use Policy View</title>
    <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag"/>

</head>

<body class="login mdc-typography">
<div class="d-flex justify-content-center" layout:fragment="content">

    <div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content"
         th:classappend="${delegatedAuthenticationProviderConfigurations} OR ${accepttoApplicationId} ? 'w-lg-30' : 'w-lg-50'">
        <section class="login-section login-form"
                 id="loginForm"
                 th:if="${@casThymeleafLoginFormDirector.isLoginFormViewable(#vars)}">
            <div th:replace="fragments/loginform :: loginform">
                <a href="fragments/loginform.html">Login Form goes here</a>
            </div>
        </section>
        <section class="login-section login-providers" id="providers"
                 th:if="${delegatedAuthenticationProviderConfigurations} OR ${wsfedUrls}">
            <div th:replace="fragments/loginProviders :: loginProviders">
                <a href="fragments/loginProviders.html">loginProviders</a>
            </div>
        </section>

        <section class="login-section login-qr d-xs-none d-md-block" id="acceptto" th:if="${accepttoApplicationId}">
            <div th:replace="fragments/accepttoQRCode :: accepttoQRCode">
                <a href="fragments/accepttoQRCode.html">accepttoQRCode</a>
            </div>
        </section>
    </div>
</div>
</body>

</html>
